package code.reptile.main;

import java.util.List;
import java.util.Map;

import code.reptile.core.AnalzeHtml;

/**
* <p>解析本地simple.html</p>
*
* @version 1.0
* @author:huangwf
* @date:2017/8/16 14:17
* @history
*/
public class AnalzeLocalHtml {

public static void main(String[] args) {
String path = "reptile/out/html/simple";
List<Map<String,Object>> list = AnalzeHtml.analzeHtmlById(path,"content","a","href");
for(Map item:list){
System.out.println(item.get(AnalzeHtml.HTML_TEXT)+":"+item.get(AnalzeHtml.HTML_ATTR));
}
}
}


